package dao

import "oidc/model"

type UserInfo struct {
	Identifier int    `json:"identifier"`
	UserName   string `json:"user_name"`
	Email      string `json:"email"`
	Phone      int    `json:"phone"`
}

var UserMap map[int]model.UserInfo

func init() {
	UserMap = make(map[int]model.UserInfo)
	UserMap[1] = model.UserInfo{
		Identifier: 10000000,
		UserName:   "LOS1",
		Email:      "123@qq.com",
		Phone:      12345678901,
	}
	UserMap[2] = model.UserInfo{
		Identifier: 10000001,
		UserName:   "LOS2",
		Email:      "1233@qq.com",
		Phone:      12345678902,
	}
	UserMap[3] = model.UserInfo{
		Identifier: 10000002,
		UserName:   "LOS3",
		Email:      "12333@qq.com",
		Phone:      12345678903,
	}
}
